package com.daocao.yfb.api.model;

import java.util.List;

import com.daocao.yfb.api.ResponseModel;

/**
 * Created by xsooy-pc on 18-3-5.
 */

public class IndexModel extends ResponseModel {

    /**
     * datas : {"banners":[{"id":2,"image_url":"http://xxx","link":"http://xxxx"}],"goods":[{"id":2,"merchant_id":"7","merchant":"云商宝代理商","icon":"https://xxxx","name":"50000自积分购买","money":"200.00","buy_count":0}]}
     */

    public DatasBean datas;

    public static class DatasBean {
        public List<BannersBean> banners;
        public List<GoodsBean> goods;

        public static class BannersBean {
            /**
             * id : 2
             * image_url : http://xxx
             * link : http://xxxx
             */

            public String id;
            public String image_url;
            public String link;
        }

        public static class GoodsBean {
            /**
             * id : 2
             * merchant_id : 7
             * merchant : 云商宝代理商
             * icon : https://xxxx
             * name : 50000自积分购买
             * money : 200.00
             * buy_count : 0
             */

            public String id;
            public String merchant_id;
            public String merchant;
            public String icon;
            public String name;
            public String money;
            public String buy_count;
        }
    }
}
